package com.study.talk.ui.app.group.create

import android.app.Application
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.study.talk.ui.app.base.BaseViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject

@HiltViewModel
class CreateGroupViewModel @Inject constructor(application: Application) : BaseViewModel(application) {
    private val _selectUsers = MutableLiveData<List<Int>>()
    val selectUsers : LiveData<List<Int>> get() = _selectUsers

    fun changeSelectUsers(selectUsers : List<Int>){
        _selectUsers.postValue(selectUsers)
    }
}